<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{hrEmpBean.id}"/>
		<f:event type="preRenderView" listener="#{hrEmpBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Hr Emp"/>

	<ui:define name="header">
		Hr Emp
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty hrEmpBean.id}">
				Edit existing Hr Emp
			</c:when>
			<c:otherwise>
				Create a new Hr Emp
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="hrEmpBeanHrEmpEmpNo" value="Emp No:"/>
				<h:panelGroup>
					<h:inputText id="hrEmpBeanHrEmpEmpNo" required="true" value="#{hrEmpBean.hrEmp.empNo}"/>
					<h:message for="hrEmpBeanHrEmpEmpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="hrEmpBeanHrEmpHrEmpStatus" value="Hr Emp Status:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{hrEmpStatusBean.converter}" id="hrEmpBeanHrEmpHrEmpStatus" value="#{hrEmpBean.hrEmp.hrEmpStatus}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{hrEmpStatusBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="hrEmpBeanHrEmpHrEmpStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpSysTitleName" value="Sys Title Name:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{sysTitleNameBean.converter}" id="hrEmpBeanHrEmpSysTitleName" value="#{hrEmpBean.hrEmp.sysTitleName}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysTitleNameBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="hrEmpBeanHrEmpSysTitleName" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpEmpCode" value="Emp Code:"/>
				<h:panelGroup>
					<h:inputText id="hrEmpBeanHrEmpEmpCode" maxLength="50" value="#{hrEmpBean.hrEmp.empCode}"/>
					<h:message for="hrEmpBeanHrEmpEmpCode" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpEmpFirstName" value="Emp First Name:"/>
				<h:panelGroup>
					<h:inputText id="hrEmpBeanHrEmpEmpFirstName" maxLength="100" value="#{hrEmpBean.hrEmp.empFirstName}"/>
					<h:message for="hrEmpBeanHrEmpEmpFirstName" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpEmpLastName" value="Emp Last Name:"/>
				<h:panelGroup>
					<h:inputText id="hrEmpBeanHrEmpEmpLastName" maxLength="100" value="#{hrEmpBean.hrEmp.empLastName}"/>
					<h:message for="hrEmpBeanHrEmpEmpLastName" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpEmpIdCardNo" value="Emp Id Card No:"/>
				<h:panelGroup>
					<h:inputText id="hrEmpBeanHrEmpEmpIdCardNo" maxLength="20" value="#{hrEmpBean.hrEmp.empIdCardNo}"/>
					<h:message for="hrEmpBeanHrEmpEmpIdCardNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpEmpSex" value="Emp Sex:"/>
				<h:panelGroup>
					<h:inputText id="hrEmpBeanHrEmpEmpSex" value="#{hrEmpBean.hrEmp.empSex}"/>
					<h:message for="hrEmpBeanHrEmpEmpSex" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpHrEmpAddrs" value="Hr Emp Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.hrEmpAddrs}"/>
					<h:dataTable id="hrEmpBeanHrEmpHrEmpAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="hrEmpAddrBeanAddSysAddr01" value="#{hrEmpAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="hrEmpAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr Type"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddrType" value="#{forgeview:display(_item.sysAddrType)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddrTypeBean.converter}" id="hrEmpAddrBeanAddSysAddrType" value="#{hrEmpAddrBean.add.sysAddrType}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddrTypeBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="hrEmpAddrBeanAddSysAddrType" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Emp Addr No"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemEmpAddrNo" value="#{_item.empAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="hrEmpAddrBeanAddEmpAddrNo" maxLength="20" value="#{hrEmpAddrBean.add.empAddrNo}"/>
								<h:message for="hrEmpAddrBeanAddEmpAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Emp Addr Moo"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemEmpAddrMoo" value="#{_item.empAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="hrEmpAddrBeanAddEmpAddrMoo" maxLength="10" value="#{hrEmpAddrBean.add.empAddrMoo}"/>
								<h:message for="hrEmpAddrBeanAddEmpAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Emp Addr Soi"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemEmpAddrSoi" value="#{_item.empAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="hrEmpAddrBeanAddEmpAddrSoi" maxLength="100" value="#{hrEmpAddrBean.add.empAddrSoi}"/>
								<h:message for="hrEmpAddrBeanAddEmpAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(hrEmpAddrBean.added)}" id="hrEmpBeanHrEmpHrEmpAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{hrEmpAddrBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpFaJournals" value="Fa Journals:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.faJournals}"/>
					<h:dataTable id="hrEmpBeanHrEmpFaJournals" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Jn No"/>
							</f:facet>
							<h:link outcome="/faJournal/view">
								<f:param name="id" value="#{_item.jnNo}"/>
								<h:outputText id="itemJnNo" value="#{_item.jnNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="faJournalBeanAddJnNo" value="#{faJournalBean.add.jnNo}"/>
								<h:message for="faJournalBeanAddJnNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Jn Amt"/>
							</f:facet>
							<h:link outcome="/faJournal/view">
								<f:param name="id" value="#{_item.jnNo}"/>
								<h:outputText id="itemJnAmt" value="#{_item.jnAmt}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="faJournalBeanAddJnAmt" value="#{faJournalBean.add.jnAmt}"/>
								<h:message for="faJournalBeanAddJnAmt" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(faJournalBean.added)}" id="hrEmpBeanHrEmpFaJournalsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{faJournalBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpWfFlowTransLines" value="Wf Flow Trans Lines:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.wfFlowTransLines}"/>
					<h:dataTable id="hrEmpBeanHrEmpWfFlowTransLines" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Wf Flow Trans"/>
							</f:facet>
							<h:link outcome="/wfFlowTransLine/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemWfFlowTrans" value="#{forgeview:display(_item.wfFlowTrans)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{wfFlowTransBean.converter}" id="wfFlowTransLineBeanAddWfFlowTrans" value="#{wfFlowTransLineBean.add.wfFlowTrans}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{wfFlowTransBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="wfFlowTransLineBeanAddWfFlowTrans" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Wf Job Master"/>
							</f:facet>
							<h:link outcome="/wfFlowTransLine/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemWfJobMaster" value="#{forgeview:display(_item.wfJobMaster)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{wfJobMasterBean.converter}" id="wfFlowTransLineBeanAddWfJobMaster" value="#{wfFlowTransLineBean.add.wfJobMaster}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{wfJobMasterBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="wfFlowTransLineBeanAddWfJobMaster" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Wf Flow Status"/>
							</f:facet>
							<h:link outcome="/wfFlowTransLine/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemWfFlowStatus" value="#{forgeview:display(_item.wfFlowStatus)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{wfFlowStatusBean.converter}" id="wfFlowTransLineBeanAddWfFlowStatus" value="#{wfFlowTransLineBean.add.wfFlowStatus}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{wfFlowStatusBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="wfFlowTransLineBeanAddWfFlowStatus" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Wf Workstation"/>
							</f:facet>
							<h:link outcome="/wfFlowTransLine/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemWfWorkstation" value="#{forgeview:display(_item.wfWorkstation)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{wfWorkstationBean.converter}" id="wfFlowTransLineBeanAddWfWorkstation" value="#{wfFlowTransLineBean.add.wfWorkstation}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{wfWorkstationBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="wfFlowTransLineBeanAddWfWorkstation" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Ft Flow Seq No"/>
							</f:facet>
							<h:link outcome="/wfFlowTransLine/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemFtFlowSeqNo" value="#{_item.ftFlowSeqNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="wfFlowTransLineBeanAddFtFlowSeqNo" value="#{wfFlowTransLineBean.add.ftFlowSeqNo}"/>
								<h:message for="wfFlowTransLineBeanAddFtFlowSeqNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(wfFlowTransLineBean.added)}" id="hrEmpBeanHrEmpWfFlowTransLinesAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{wfFlowTransLineBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpFaGlTranses" value="Fa Gl Transes:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.faGlTranses}"/>
					<h:dataTable id="hrEmpBeanHrEmpFaGlTranses" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Gl No"/>
							</f:facet>
							<h:link outcome="/faGlTrans/view">
								<f:param name="id" value="#{_item.glNo}"/>
								<h:outputText id="itemGlNo" value="#{_item.glNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="faGlTransBeanAddGlNo" value="#{faGlTransBean.add.glNo}"/>
								<h:message for="faGlTransBeanAddGlNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Gl Dr Amt"/>
							</f:facet>
							<h:link outcome="/faGlTrans/view">
								<f:param name="id" value="#{_item.glNo}"/>
								<h:outputText id="itemGlDrAmt" value="#{_item.glDrAmt}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="faGlTransBeanAddGlDrAmt" value="#{faGlTransBean.add.glDrAmt}"/>
								<h:message for="faGlTransBeanAddGlDrAmt" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Gl Cr Amt"/>
							</f:facet>
							<h:link outcome="/faGlTrans/view">
								<f:param name="id" value="#{_item.glNo}"/>
								<h:outputText id="itemGlCrAmt" value="#{_item.glCrAmt}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="faGlTransBeanAddGlCrAmt" value="#{faGlTransBean.add.glCrAmt}"/>
								<h:message for="faGlTransBeanAddGlCrAmt" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Gl Status Dr Cr"/>
							</f:facet>
							<h:link outcome="/faGlTrans/view">
								<f:param name="id" value="#{_item.glNo}"/>
								<h:outputText id="itemGlStatusDrCr" value="#{_item.glStatusDrCr}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="faGlTransBeanAddGlStatusDrCr" value="#{faGlTransBean.add.glStatusDrCr}"/>
								<h:message for="faGlTransBeanAddGlStatusDrCr" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Gl Status Is Close"/>
							</f:facet>
							<h:link outcome="/faGlTrans/view">
								<f:param name="id" value="#{_item.glNo}"/>
								<h:outputText id="itemGlStatusIsClose" value="#{_item.glStatusIsClose}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="faGlTransBeanAddGlStatusIsClose" value="#{faGlTransBean.add.glStatusIsClose}"/>
								<h:message for="faGlTransBeanAddGlStatusIsClose" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(faGlTransBean.added)}" id="hrEmpBeanHrEmpFaGlTransesAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{faGlTransBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptReceiptByEmpNo" value="Pc Purchase Receipts For Rcpt Receipt By Emp No:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.pcPurchaseReceiptsForRcptReceiptByEmpNo}"/>
					<h:dataTable id="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptReceiptByEmpNo" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt No"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptNo" value="#{_item.rcptNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptNo" value="#{pcPurchaseReceiptBean.add.rcptNo}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Code"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptCode" value="#{_item.rcptCode}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptCode" maxLength="50" value="#{pcPurchaseReceiptBean.add.rcptCode}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptCode" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Descr"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptDescr" value="#{_item.rcptDescr}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptDescr" maxLength="300" value="#{pcPurchaseReceiptBean.add.rcptDescr}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptDescr" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Date"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptDate" value="#{_item.rcptDate}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptDate" maxLength="10" value="#{pcPurchaseReceiptBean.add.rcptDate}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="pcPurchaseReceiptBeanAddRcptDate" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Vat Perc Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptVatPercVal" value="#{_item.rcptVatPercVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptVatPercVal" value="#{pcPurchaseReceiptBean.add.rcptVatPercVal}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptVatPercVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseReceiptBean.added)}" id="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptReceiptByEmpNoAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseReceiptBean.add.hrEmpByRcptReceiptByEmpNo}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptCreatedByEmpNo" value="Pc Purchase Receipts For Rcpt Created By Emp No:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.pcPurchaseReceiptsForRcptCreatedByEmpNo}"/>
					<h:dataTable id="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptCreatedByEmpNo" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt No"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptNo" value="#{_item.rcptNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptNo" value="#{pcPurchaseReceiptBean.add.rcptNo}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Code"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptCode" value="#{_item.rcptCode}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptCode" maxLength="50" value="#{pcPurchaseReceiptBean.add.rcptCode}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptCode" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Descr"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptDescr" value="#{_item.rcptDescr}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptDescr" maxLength="300" value="#{pcPurchaseReceiptBean.add.rcptDescr}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptDescr" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Date"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptDate" value="#{_item.rcptDate}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptDate" maxLength="10" value="#{pcPurchaseReceiptBean.add.rcptDate}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="pcPurchaseReceiptBeanAddRcptDate" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rcpt Vat Perc Val"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReceipt/view">
								<f:param name="id" value="#{_item.rcptNo}"/>
								<h:outputText id="itemRcptVatPercVal" value="#{_item.rcptVatPercVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReceiptBeanAddRcptVatPercVal" value="#{pcPurchaseReceiptBean.add.rcptVatPercVal}"/>
								<h:message for="pcPurchaseReceiptBeanAddRcptVatPercVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseReceiptBean.added)}" id="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptCreatedByEmpNoAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseReceiptBean.add.hrEmpByRcptCreatedByEmpNo}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpWfFlowTranses" value="Wf Flow Transes:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.wfFlowTranses}"/>
					<h:dataTable id="hrEmpBeanHrEmpWfFlowTranses" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Ft No"/>
							</f:facet>
							<h:link outcome="/wfFlowTrans/view">
								<f:param name="id" value="#{_item.ftNo}"/>
								<h:outputText id="itemFtNo" value="#{_item.ftNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="wfFlowTransBeanAddFtNo" value="#{wfFlowTransBean.add.ftNo}"/>
								<h:message for="wfFlowTransBeanAddFtNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(wfFlowTransBean.added)}" id="hrEmpBeanHrEmpWfFlowTransesAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{wfFlowTransBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseReqs" value="Pc Purchase Reqs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.pcPurchaseReqs}"/>
					<h:dataTable id="hrEmpBeanHrEmpPcPurchaseReqs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr No"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReq/view">
								<f:param name="id" value="#{_item.prNo}"/>
								<h:outputText id="itemPrNo" value="#{_item.prNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqBeanAddPrNo" value="#{pcPurchaseReqBean.add.prNo}"/>
								<h:message for="pcPurchaseReqBeanAddPrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Code"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReq/view">
								<f:param name="id" value="#{_item.prNo}"/>
								<h:outputText id="itemPrCode" value="#{_item.prCode}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqBeanAddPrCode" maxLength="50" value="#{pcPurchaseReqBean.add.prCode}"/>
								<h:message for="pcPurchaseReqBeanAddPrCode" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Descr"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReq/view">
								<f:param name="id" value="#{_item.prNo}"/>
								<h:outputText id="itemPrDescr" value="#{_item.prDescr}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqBeanAddPrDescr" maxLength="100" value="#{pcPurchaseReqBean.add.prDescr}"/>
								<h:message for="pcPurchaseReqBeanAddPrDescr" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Date"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReq/view">
								<f:param name="id" value="#{_item.prNo}"/>
								<h:outputText id="itemPrDate" value="#{_item.prDate}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqBeanAddPrDate" maxLength="10" value="#{pcPurchaseReqBean.add.prDate}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="pcPurchaseReqBeanAddPrDate" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pr Discount Perc"/>
							</f:facet>
							<h:link outcome="/pcPurchaseReq/view">
								<f:param name="id" value="#{_item.prNo}"/>
								<h:outputText id="itemPrDiscountPerc" value="#{_item.prDiscountPerc}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseReqBeanAddPrDiscountPerc" value="#{pcPurchaseReqBean.add.prDiscountPerc}"/>
								<h:message for="pcPurchaseReqBeanAddPrDiscountPerc" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseReqBean.added)}" id="hrEmpBeanHrEmpPcPurchaseReqsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseReqBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseOrders" value="Pc Purchase Orders:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.pcPurchaseOrders}"/>
					<h:dataTable id="hrEmpBeanHrEmpPcPurchaseOrders" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po No"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrder/view">
								<f:param name="id" value="#{_item.poNo}"/>
								<h:outputText id="itemPoNo" value="#{_item.poNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderBeanAddPoNo" value="#{pcPurchaseOrderBean.add.poNo}"/>
								<h:message for="pcPurchaseOrderBeanAddPoNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Code"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrder/view">
								<f:param name="id" value="#{_item.poNo}"/>
								<h:outputText id="itemPoCode" value="#{_item.poCode}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderBeanAddPoCode" maxLength="50" value="#{pcPurchaseOrderBean.add.poCode}"/>
								<h:message for="pcPurchaseOrderBeanAddPoCode" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Descr"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrder/view">
								<f:param name="id" value="#{_item.poNo}"/>
								<h:outputText id="itemPoDescr" value="#{_item.poDescr}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderBeanAddPoDescr" maxLength="100" value="#{pcPurchaseOrderBean.add.poDescr}"/>
								<h:message for="pcPurchaseOrderBeanAddPoDescr" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Date"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrder/view">
								<f:param name="id" value="#{_item.poNo}"/>
								<h:outputText id="itemPoDate" value="#{_item.poDate}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderBeanAddPoDate" maxLength="10" value="#{pcPurchaseOrderBean.add.poDate}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="pcPurchaseOrderBeanAddPoDate" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Discount Perc"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrder/view">
								<f:param name="id" value="#{_item.poNo}"/>
								<h:outputText id="itemPoDiscountPerc" value="#{_item.poDiscountPerc}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderBeanAddPoDiscountPerc" value="#{pcPurchaseOrderBean.add.poDiscountPerc}"/>
								<h:message for="pcPurchaseOrderBeanAddPoDiscountPerc" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseOrderBean.added)}" id="hrEmpBeanHrEmpPcPurchaseOrdersAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseOrderBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpSysCompanyNewses" value="Sys Company Newses:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.sysCompanyNewses}"/>
					<h:dataTable id="hrEmpBeanHrEmpSysCompanyNewses" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Com News No"/>
							</f:facet>
							<h:link outcome="/sysCompanyNews/view">
								<f:param name="id" value="#{_item.comNewsNo}"/>
								<h:outputText id="itemComNewsNo" value="#{_item.comNewsNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysCompanyNewsBeanAddComNewsNo" value="#{sysCompanyNewsBean.add.comNewsNo}"/>
								<h:message for="sysCompanyNewsBeanAddComNewsNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sysCompanyNewsBean.added)}" id="hrEmpBeanHrEmpSysCompanyNewsesAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sysCompanyNewsBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpWfFlowMasters" value="Wf Flow Masters:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.wfFlowMasters}"/>
					<h:dataTable id="hrEmpBeanHrEmpWfFlowMasters" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Fm No"/>
							</f:facet>
							<h:link outcome="/wfFlowMaster/view">
								<f:param name="id" value="#{_item.fmNo}"/>
								<h:outputText id="itemFmNo" value="#{_item.fmNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="wfFlowMasterBeanAddFmNo" value="#{wfFlowMasterBean.add.fmNo}"/>
								<h:message for="wfFlowMasterBeanAddFmNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(wfFlowMasterBean.added)}" id="hrEmpBeanHrEmpWfFlowMastersAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{wfFlowMasterBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpWfJobMasters" value="Wf Job Masters:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.wfJobMasters}"/>
					<h:dataTable id="hrEmpBeanHrEmpWfJobMasters" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Jm No"/>
							</f:facet>
							<h:link outcome="/wfJobMaster/view">
								<f:param name="id" value="#{_item.jmNo}"/>
								<h:outputText id="itemJmNo" value="#{_item.jmNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="wfJobMasterBeanAddJmNo" value="#{wfJobMasterBean.add.jmNo}"/>
								<h:message for="wfJobMasterBeanAddJmNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(wfJobMasterBean.added)}" id="hrEmpBeanHrEmpWfJobMastersAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{wfJobMasterBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="hrEmpBeanHrEmpSysUserAccounts" value="Sys User Accounts:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{hrEmpBean.hrEmp.sysUserAccounts}"/>
					<h:dataTable id="hrEmpBeanHrEmpSysUserAccounts" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="User No"/>
							</f:facet>
							<h:link outcome="/sysUserAccount/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="itemUserNo" value="#{_item.userNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysUserAccountBeanAddUserNo" value="#{sysUserAccountBean.add.userNo}"/>
								<h:message for="sysUserAccountBeanAddUserNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sysUserAccountBean.added)}" id="hrEmpBeanHrEmpSysUserAccountsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sysUserAccountBean.add.hrEmp}" value="#{hrEmpBean.hrEmp}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{hrEmpBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty hrEmpBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{hrEmpBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{hrEmpBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>